package kr.hkit.PowerJava.chapter26;

import java.util.Properties;

public class TestMain {
   public static void main(String[] args) {
	   String driver = "com.mysql.jdbc.Driver";
	   String url = "jdbc:mysql://localhost:3306/mysql_study";
	   String user = "root";
	   String password = "1111";
	  DbUtil.savePropertis("dbcon.prop", driver, url,user, password);
	  
	  
	  Properties prop = DbUtil.loadPropertis("dbcon.xml");
	  
	  DBProperties.prnProperties(prop); 
   }
}
